﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Models
{
    /// <summary>
    /// 工作流状态Log日志类
    /// </summary>
    [Serializable]
    public class WorkflowLog
    {
        public int Id { get; set; }
        public string Username { get; set; }
        /// <summary>
        /// 工作流Id
        /// </summary>
        public int WorkParentId { get; set; }
        /// <summary>
        /// 工作流模板Id
        /// </summary>
        public int WorkMouldId { get; set; }
        /// <summary>
        /// 子工作流Id
        /// </summary>
        public int WorkChildId { get; set; }
        /// <summary>
        /// 工作流主节点状态
        /// </summary>
        public int StatusNo { get; set; }
        /// <summary>
        /// 工作流子节点号
        /// </summary>
        public int ChildNodeNo { get; set; }
        /// <summary>
        /// 状态变更时间
        /// </summary>
        public DateTime ChangeTime { get; set; }
        /// <summary>
        /// 变更类型 pass return pause close
        /// </summary>
        public string Type1 { get; set; }
    }
}
